#ifndef PORTAL_LISTENER_H
#define PORTAL_LISTENER_H

class Portal;

class PortalListener
{
public:
    virtual ~PortalListener() {}

    virtual void notifyPortalHit(const Portal& hit) = 0;
};

inline bool operator==(const PortalListener& lhs, const PortalListener& rhs)
{
    return lhs == rhs;
}

#endif